<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/7/4
  Time: 11:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<html>
<head>
<title>用户中心</title>

<script type="text/javascript" src="JS/jquery-1.8.3.js"></script>
<script src="CSS/bootstrap.min.js"></script>
<link rel="stylesheet" href="CSS/bootstrap.css">
<script src="JS/jquery.cookie.js"></script>
<style type="text/css">
   h1 {
	text-align: center;
}
 form {
	width: 30%;
	margin: 100px auto auto;
} 
</style>
</head>
<body>
<%@include file="logo.jsp" %>
<h1>登录中心</h1>
	<form class="form-horizontal" role="form" method="post"
		action="LoginServlet">
		<div class="form-group">
			<label for="inputEmail3" class="col-sm-2 control-label">账号</label>
			<div class="col-sm-10">
				<input type="text" name="username" class="form-control"
					id="inputEmail3" placeholder="请输入账号">
			</div>
		</div>
		<div class="form-group">
			<label for="inputPassword3" class="col-sm-2 control-label">密码</label>
			<div class="col-sm-10">
				<input type="password" name="pwd" class="form-control"
					id="inputPassword3" placeholder="请输入密码">
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<div class="checkbox">
					<label> <input type="checkbox" name="remember"> 记住账号密码
					</label>
				</div>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">登录</button>
				<a href="register.jsp">没有密码?注册</a><span>${requestScope.result}</span>
			</div>
		</div>
	</form>
</body>

<script>
	$(function () {
	    $("#inputEmail3").click(function () {
            $("span").hide();
        });

    })
</script>

</html>
